<?php



$record = $G_cfg['site_info'];

// 处理引号，HTML标签引起的输入框显示错误，过滤字符型变量
$process_include    = array('corp_name', 'site_name', 'seo_title', 'seo_keywords', 'seo_description');
string_pre_process($record, $process_include);





require($abs_admin_cppath . '/header.php');





// 取得返回字符串
$back_url   = strcode(getcookie('back_url'), 'DECODE');
if($back_url == '') $back_url   = $mod_url['li'];


?>
<SCRIPT LANGUAGE="JavaScript" SRC="<?php echo $url_global['common']; ?>/js/Validator.js"></SCRIPT>








		<div class="datacontainer2" style="width:600px;">
<div class="header">
	站点基本信息
</div>
<table BORDER="0" cellpadding="0" cellspacing="0" width="100%" class="list_table">
<form action="<?php echo $mod_url['save']; ?>" method="post" name="item_data" onsubmit="return Validator.Validate(this,3)">
<TR>
	<TD width="120" align="right" class="caption">公司名称</TD>
	<TD class="cell">
		<input type="text" name="basic[corp_name]" value="<?php echo $record['corp_name']; ?>" class="text" style="width:90%"

		dataType="Require" dataType="Limit" min="1" max="100" msg="公司名称必须填写且不能超过100个字符">
		<span class="mustfill">*</span> 

		<div class="hint">公司名称长度为1～100个字符，请不要输入HTML或php代码。
		</div>
	</TD>
</TR>

<TR>
	<TD width="120" align="right" class="caption">站点名称</TD>
	<TD class="cell">
		<input type="text" name="basic[site_name]" value="<?php echo $record['site_name']; ?>" class="text" style="width:90%"
		
		Require="false" dataType="Limit" max="100" msg="站点名称长度不能超过100个字符">
<div class="hint">请用填写您站点的名称，长度不能超过100个字符。</div>


	</TD>
</TR>

<TR>
	<TD width="120" align="right" class="caption">版权</TD>
	<TD class="cell">
		<input type="text" name="basic[bq]" value="<?php echo $record['bq']; ?>" class="text" style="width:90%" >
	</TD>
</TR>
<TR>
	<TD width="120" align="right" class="caption">地址</TD>
	<TD class="cell">
		<input type="text" name="basic[addr]" value="<?php echo $record['addr']; ?>" class="text" style="width:90%" >
	</TD>
</TR>
<TR>
	<TD width="120" align="right" class="caption">联系电话</TD>
	<TD class="cell">
		<input type="text" name="basic[phone]" value="<?php echo $record['phone']; ?>" class="text" style="width:90%" >
	</TD>
</TR>

<TR>
	<TD width="120" align="right" class="caption">固定资产在线客服QQ</TD>
	<TD class="cell">
		<input type="text" name="basic[qq]" value="<?php echo $record['qq']; ?>" class="text" style="width:90%" >
	</TD>
</TR>
<TR>
	<TD width="120" align="right" class="caption">债权资产在线客服QQ</TD>
	<TD class="cell">
		<input type="text" name="basic[qq1]" value="<?php echo $record['qq1']; ?>" class="text" style="width:90%" >
	</TD>
</TR>
<TR>
	<TD width="120" align="right" class="caption">股权资产在线客服QQ</TD>
	<TD class="cell">
		<input type="text" name="basic[qq2]" value="<?php echo $record['qq2']; ?>" class="text" style="width:90%" >
	</TD>
</TR>
<TR>
	<TD width="120" align="right" class="caption">融资服务在线客服QQ</TD>
	<TD class="cell">
		<input type="text" name="basic[qq3]" value="<?php echo $record['qq3']; ?>" class="text" style="width:90%" >
	</TD>
</TR>
<TR>
	<TD width="120" align="right" class="caption">无形资产在线客服QQ</TD>
	<TD class="cell">
		<input type="text" name="basic[qq4]" value="<?php echo $record['qq4']; ?>" class="text" style="width:90%" >
	</TD>
</TR>

<TR>
	<TD width="120" align="right" class="caption">短信接口设置</TD>
	<TD class="cell">
<TABLE border="0" cellpadding="2" cellspacing="2" width="100%" class="non_border">
<TR>
    <TD width="120" align="right">地址：</TD>
    <TD><input type="text" name="basic[sms_url]" value="<?php echo $record['sms_url']; ?>" class="text wp90" Require="false" dataType="Limit" max="255" msg="页面自定义title不能超过255个字符"></TD>
</TR>
<TR>
    <TD width="120" align="right">用户名：</TD>
    <TD><input type="text" name="basic[sms_username]" value="<?php echo $record['sms_username']; ?>" class="text wp90" Require="false" dataType="Limit" max="255" msg="keywords不能超过255个字符"></TD>
</TR>
<TR>
    <TD width="120" align="right">密码：</TD>
    <TD><input type="text" name="basic[sms_password]" value="<?php echo $record['sms_password']; ?>" class="text wp90" Require="false" dataType="Limit" max="255" msg="description不能超过255个字符"></TD>
</TR>
<TR>
    <TD width="120" align="right">企业签名：</TD>
    <TD><input type="text" name="basic[sms_sitename]" value="<?php echo $record['sms_sitename']; ?>" class="text wp90" Require="false" dataType="Limit" max="255" msg="description不能超过255个字符"></TD>
</TR>
</TABLE>
	</TD>
</TR>
<TR>
	<TD width="120" align="right" class="caption">默认SEO数据</TD>
	<TD class="cell">
<TABLE border="0" cellpadding="2" cellspacing="2" width="100%" class="non_border">
<TR>
    <TD width="120" align="right">title：</TD>
    <TD><input type="text" name="basic[seo_title]" value="<?php echo $record['seo_title']; ?>" class="text wp90" Require="false" dataType="Limit" max="255" msg="页面自定义title不能超过255个字符"></TD>
</TR>
<TR>
    <TD width="120" align="right">keywords：</TD>
    <TD><input type="text" name="basic[seo_keywords]" value="<?php echo $record['seo_keywords']; ?>" class="text wp90" Require="false" dataType="Limit" max="255" msg="keywords不能超过255个字符"></TD>
</TR>
<TR>
    <TD width="120" align="right">description：</TD>
    <TD><input type="text" name="basic[seo_description]" value="<?php echo $record['seo_description']; ?>" class="text wp90" Require="false" dataType="Limit" max="255" msg="description不能超过255个字符"></TD>
</TR>
</TABLE>
	</TD>
</TR>
<TR>
	<TD width="120" align="right" class="caption">系统信息</TD>
	<TD class="cell">
<?php echo $G_cfg['site_info']['cms_copyright']; ?><br /><br />



<?php echo $G_cfg['site_info']['cms_name']; ?>&nbsp;
<FONT COLOR="#FF0000"><?php echo $G_cfg['site_info']['cms_ver']; ?></FONT> Licensed to <?php echo $record['corp_name']; ?> <br />


<B>package time: </B><?php echo $G_cfg['site_info']['cms_packtime']; ?><br />
<B>packager: </B><?php echo $G_cfg['site_info']['cms_packprogramer']; ?><br />
	</TD>
</TR>
<TR>
	<TD class="submit" colspan="2">
		<input type="submit" value=" 保存 " class="btn">
		<input type="reset" value=" 重置 " class="btn">
		<input type="hidden" name="save" value="<?php echo $save_flag; ?>">
	</TD>
</TR>
</form>
</TABLE>

		</div>
<?php
require($abs_admin_cppath . '/footer.php');
?>